package com.ll.menu.user.history.detail;

import android.app.Activity;
import android.view.View;

import com.droid.library.app.emptyview.BaseEmptyViewManager;
import com.droid.library.app.emptyview.CallbackAdapter;
import com.ll.menu.user.R;

/**
 * 用餐记录空View管理
 *
 * @author wangheng
 */

public class HistoryDetailEmptyViewManager extends BaseEmptyViewManager<CallbackAdapter> {
    public HistoryDetailEmptyViewManager(CallbackAdapter callback) {
        super(callback);
    }

    @Override
    protected View createNoDataEmptyView(Activity context) {
        View view = getLayoutInflater().inflate(R.layout.empty_order_history_detail_no_data,
                getEmptyView(context), false);
        return view;
    }

    @Override
    protected View createNetWorkErrorEmptyView(Activity context) {
        View view = getLayoutInflater().inflate(R.layout.empty_no_network,
                getEmptyView(context), false);
        return view;
    }

    @Override
    public void onClick(View v) {

    }
}
